package com.admin.vo.system;

import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel("MenuSelectedVO(菜单选择)")
public class MenuSelectedVO {

    @ApiModelProperty(value = "菜单id", required = true)
    private Long menuId;

    @ApiModelProperty(value = "菜单父id", required = true)
    private Long parentId;

    @ApiModelProperty(value = "菜单名称", required = true)
    private String name;

    @ApiModelProperty(value = "是否选中", required = true)
    private Boolean isSelected;

    @ApiModelProperty("子系统菜单")
    private List<MenuSelectedVO> children;

    public Long getMenuId() {
        return menuId;
    }

    public void setMenuId(Long menuId) {
        this.menuId = menuId;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Boolean getIsSelected() {
        return isSelected;
    }

    public void setIsSelected(Boolean isSelected) {
        this.isSelected = isSelected;
    }

    public List<MenuSelectedVO> getChildren() {
        return children;
    }

    public void setChildren(List<MenuSelectedVO> children) {
        this.children = children;
    }
}
